package com.ztc.ZtcWithdrawalsApply.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import com.aqgj.util.BaseEntity;

@Entity
@Table(name = "ztc_withdrawals_apply")
public class ZtcWithdrawalsApply implements BaseEntity {

    private String id;//

    private Integer businessType; //业务类型：1-用户 2-公司

    private String businessId;//业务ID

    private String fkHandlePerson;//处理人ID

    private java.math.BigDecimal money;//提现金额

    private Integer status;//状态：1-进行中;2-完成;3-失败

    private Integer transferAccountType;//提现账户类型（1支付宝  2 微信）

    private String transferAccount; //提现账户

    private String failureDescription;//提现失败描述

    private java.util.Date addTime;//添加时间

    private java.util.Date handleTime;//处理时间

    public void setId(String value) {
        this.id = value;
    }

    public void setBusinessId(String value) {
        this.businessId = value;
    }

    public void setFkHandlePerson(String value) {
        this.fkHandlePerson = value;
    }

    public void setMoney(java.math.BigDecimal value) {
        this.money = value;
    }

    public void setStatus(Integer value) {
        this.status = value;
    }

    public void setAddTime(java.util.Date value) {
        this.addTime = value;
    }

    public void setHandleTime(java.util.Date value) {
        this.handleTime = value;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    public void setTransferAccountType(Integer transferAccountType) {
        this.transferAccountType = transferAccountType;
    }

    public void setTransferAccount(String transferAccount) {
        this.transferAccount = transferAccount;
    }

    public void setFailureDescription(String failureDescription) {
        this.failureDescription = failureDescription;
    }

    @Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(name = "id", unique = true, nullable = false, insertable = true, updatable = true, length = 32)
    public String getId() {
        return this.id;
    }

    @Column(name = "business_id", unique = false, nullable = true, insertable = true, updatable = true, length = 32)
    public String getBusinessId() {
        return this.businessId;
    }

    @Column(name = "fk_handle_person", unique = false, nullable = true, insertable = true, updatable = true, length = 32)
    public String getFkHandlePerson() {
        return this.fkHandlePerson;
    }

    @Column(name = "money", unique = false, nullable = true, insertable = true, updatable = true, length = 10)
    public java.math.BigDecimal getMoney() {
        return this.money;
    }

    @Column(name = "status", unique = false, nullable = true, insertable = true, updatable = true, length = 3)
    public Integer getStatus() {
        return this.status;
    }

    @Column(name = "add_time", unique = false, nullable = true, insertable = true, updatable = true, length = 0)
    public java.util.Date getAddTime() {
        return this.addTime;
    }

    @Column(name = "handle_time", unique = false, nullable = true, insertable = true, updatable = true, length = 0)
    public java.util.Date getHandleTime() {
        return this.handleTime;
    }

    @Column(name = "business_type", unique = false, nullable = true, insertable = true, updatable = true, length = 4)
    public Integer getBusinessType() {
        return businessType;
    }

    @Column(name = "transfer_account_type", unique = false, nullable = true, insertable = true, updatable = true, length = 4)
    public Integer getTransferAccountType() {
        return transferAccountType;
    }

    @Column(name = "transfer_account", unique = false, nullable = true, insertable = true, updatable = true, length = 32)
    public String getTransferAccount() {
        return transferAccount;
    }

    @Column(name = "failure_description", unique = false, nullable = true, insertable = true, updatable = true, length = 256)
    public String getFailureDescription() {
        return failureDescription;
    }
}
